package com.wlz.regex;

import com.wlz.util.CommonUtil;

/**
 * @author wlz
 * @date 2023-03-22  15:27
 */
public class Test {

    public static void main(String[] args) {
        String regex = "^((([A]|[a])([r]|[R])([c]|[C])([f]|[F])([o]|[O])([x]|[X]))|(([B]|[b])([J]|[j])([E]|[e])([V]|[v]))|(([B]|[b])([J]|[j])([6])([0]))|(([B]|[b])([E]|[e])([I]|[i])([J]|[j])([I]|[i])([N]|[n])([G]|[g])))([\\u0020]|[\\u3000]|[-]|[_])([V]|[v])([0-9]{1,3})([\\u002E])([0-9]{1,3})([\\u002E])(([0-9][0-9]{0,1})|([0-9][0-9]))([A-Za-z0-9]{0,11})$";
        System.out.println(CommonUtil.checkRegular("BEIJING-V3.0", regex));
    }
}
